<?php require_once '../DB.php';require_once '../CMemcache.php';$dbConfig = require_once './dbConfig.php';DB::init($dbConfig);//查询/*$prepare = "select * from `android`.`software` WHERE `id`> ? LIMIT 8";$res = DB::fetch($prepare, array(1280), 5);var_dump($res);*///插入/*$sql = "INSERT INTO `android`.`favority` (`uid`, `sid`, `ctime`) VALUES ( ?, ?, ?)";$res = DB::execute($sql, array('111', '111', time()));var_dump($res);*///删除$sql = "UPDATE `android`.`favority` SET `sid`=? WHERE `id`=?";$res = DB::execute($sql, array('6', '6'));var_dump($res);?>